﻿@model System.Collections.Generic.IEnumerable<Smartflow.BussinessService.Models.Record>
@if (Model.Count() > 0)
{
    <div class="layui-container">
        <table class="layui-table">
            <tr>
                <td colspan="2" style="text-align:right;border-top:solid 1px #eee;border-right:solid 1px #eee;">
                    <a href="#" onclick="openWinWorkflowImage('../../../Smartflow.Web.Design/WorkflowDesign/WorkflowImage?instanceID=@(ViewBag.InstanceID)')">查看流程图</a>
                </td>
            </tr>
            @foreach (Smartflow.BussinessService.Models.Record rec in Model)
            {
                <tr>
                    <td class="flow-node">@rec.NODENAME</td>
                    <td class="flow-message">@rec.MESSAGE</td>
                </tr>
            }
        </table>
        <script src="~/Content/common.js"></script>
    </div>
}
